package com.carleasoft.mps.cms.business.article.constants;

/**
 * <p>Description: ContentModelEnum</p>
 * @since 2021/7/5
 * @author taoyujing
 */
public enum ContentModelEnum {
    ARTICLE(0,"文章"),SLIDESHOW(1,"轮播图"),NOTIFICATION_ANNOUNCEMENT(2,"通知公告"),POLICIES_REGULATIONS(3,"政策法规");

    private Integer id;
    private String name;

    private ContentModelEnum(Integer id, String name) {
        this.id = id;
        this.name = name;
    }
    private ContentModelEnum(Integer id) {
        this.id = id;
    }

    private ContentModelEnum(String name) {
        this.name = name;
    }


    public String getName() {
        return name;
    }
    public void setName(String name) {
        this.name = name;
    }

    public Integer getId() {
        return id;
    }
    public void setId(Integer id) {
        this.id = id;
    }
}
